package com.ruoyi.project.channel.userGoodsInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 用户商品关系表 user_goods_info
 * 
 * @author CAIN
 * @date 2024-10-05
 */
public class UserGoodsInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long orderId;

	public Long getSettingId() {
		return settingId;
	}

	public void setSettingId(Long settingId) {
		this.settingId = settingId;
	}

	private Long settingId;
	/** 商品id */
	private Long productId;
	/** 商品名称 */
	private String productName;
	/** 归属用户 */
	private Long userId;
	/**  */
	private String payStatus;
	/**  */
	private BigDecimal goodPrice;
	/** 状态 */
	private String useStatus;
	/**  */
	private String creater;
	/** 图片地址 */
	private String imgUrl;

	public String getBatch() {
		return batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	private String batch; // 抢单批次号

	public BigDecimal getProfit() {
		return profit;
	}

	public void setProfit(BigDecimal profit) {
		this.profit = profit;
	}

	public BigDecimal getTaskPrice() {
		return taskPrice;
	}

	public void setTaskPrice(BigDecimal taskPrice) {
		this.taskPrice = taskPrice;
	}

	private BigDecimal taskPrice; // 卡单金额
	private BigDecimal profit; // 卡单利润
	public void setOrderId(Long orderId)
	{
		this.orderId = orderId;
	}

	public Long getOrderId()
	{
		return orderId;
	}
	public void setProductId(Long productId)
	{
		this.productId = productId;
	}

	public Long getProductId()
	{
		return productId;
	}
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	public String getProductName() 
	{
		return productName;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setPayStatus(String payStatus) 
	{
		this.payStatus = payStatus;
	}

	public String getPayStatus() 
	{
		return payStatus;
	}
	public void setGoodPrice(BigDecimal goodPrice) 
	{
		this.goodPrice = goodPrice;
	}

	public BigDecimal getGoodPrice() 
	{
		return goodPrice;
	}
	public void setUseStatus(String useStatus) 
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus() 
	{
		return useStatus;
	}
	public void setCreater(String creater) 
	{
		this.creater = creater;
	}

	public String getCreater() 
	{
		return creater;
	}
	public void setImgUrl(String imgUrl) 
	{
		this.imgUrl = imgUrl;
	}

	public String getImgUrl() 
	{
		return imgUrl;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("userId", getUserId())
            .append("payStatus", getPayStatus())
            .append("goodPrice", getGoodPrice())
            .append("useStatus", getUseStatus())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("creater", getCreater())
            .append("imgUrl", getImgUrl())
            .toString();
    }
}
